package cn.wen.eeayjoke.entity.bean.base;

import android.os.Build;

import cn.wen.core.utils.MD5;


/**
 * ================================================================
 * <p>
 * 版权: 爱车小屋所有（C） 2016-2-15
 * <p>
 * 作者：刘付文 （61128910@qq.com）
 * <p>
 * 时间: 2016-2-15 下午7:00:09
 * <p>
 * 描述：请求头
 * <p>
 * ================================================================
 */
public class RequestHead {
    public int _device_type_ = 1;
    public String _request_token_;
    public long _request_time_stamp_;
    public String _app_version_code_;
    public String _dev_ = Build.MODEL;// 设备机型 IM 2S
    public int _channel_ = 1;// 按渠道区分：App、微信、PC、Wap(1 2 3 4)
    public int _platform_id_ = 1;// B(1, "商户版"),C(2, "C", "车主版");

    public RequestHead() {
        _request_time_stamp_ = System.currentTimeMillis();
        _request_token_ = MD5.getHexMD5("car-mapi-" + _request_time_stamp_ + "-house");
    }
}
